Skip to content

[DRAFT] Speedy brl flow#1118

Open
gianfra-t wants to merge 12 commits intostagingfrom
speedy-brl-flow
Open

[DRAFT] Speedy brl flow#1118
gianfra-t wants to merge 12 commits intostagingfrom
speedy-brl-flow

Conversation

@gianfra-t
Copy link
Copy Markdown
Contributor

No description provided.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit bfd2f8e
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/69d91a1aad76f70008cd0065
😎 Deploy Preview https://deploy-preview-1118--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit bfd2f8e
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/69d91a1aad76f70008cd0069
😎 Deploy Preview https://deploy-preview-1118--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment on lines +1 to +13
import {
checkEvmBalanceForToken,
EvmClientManager,
EvmNetworks,
EvmToken,
EvmTokenDetails,
isNativeEvmToken,
Networks,
nativeToDecimal,
RampDirection,
RampPhase,
waitUntilTrueWithTimeout
} from "@vortexfi/shared";
@@ -0,0 +1,44 @@
import { EvmToken, FiatToken, getPendulumDetails, Networks, PENDULUM_USDC_AXL, RampDirection } from "@vortexfi/shared";
import { EvmToken, FiatToken, getPendulumDetails, Networks, PENDULUM_USDC_AXL, RampDirection } from "@vortexfi/shared";
import { QuoteContext } from "../../core/types";
import { BaseNablaSwapEngineEvm, NablaSwapEvmComputation } from "./base-evm";
import { NablaSwapComputation } from "./index";
}

protected compute(ctx: QuoteContext): NablaSwapEvmComputation {
const { request } = ctx;
Comment on lines +1 to +10
import {
ERC20_USDC_POLYGON,
ERC20_USDC_POLYGON_DECIMALS,
EvmToken,
getNetworkFromDestination,
multiplyByPowerOfTen,
Networks,
OnChainToken,
RampDirection
} from "@vortexfi/shared";
import Big from "big.js";
import { StateMetadata } from "../../../phases/meta-state-types";
import { encodeEvmTransactionData } from "../..";
import { addEvmFeeDistributionTransaction, addFeeDistributionTransaction } from "../../common/feeDistribution";
let stateMeta: Partial<StateMetadata> = {};

// Validate inputs and extract required data
const { fromNetwork, inputTokenDetails, outputTokenDetails } = validateOfframpQuote(quote, signingAccounts);
pixDestination: validatedPixDestination,
taxId: validatedTaxId,
receiverTaxId: validatedReceiverTaxId,
offrampAmountBeforeAnchorFeesRaw
baseNonce = nonceAfterNabla;

// Fee distribution transaction on EVM
baseNonce = await addEvmFeeDistributionTransaction(quote, evmEphemeralEntry, unsignedTxs, baseNonce);
@@ -0,0 +1,44 @@
import { RampDirection } from "@vortexfi/shared";
import Big from "big.js";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant